<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<link href="../style/cssqt.css" rel="stylesheet" type="text/css" />
</head>
<?php
include("../config/config.php");
$idxem = $_GET['idxem'];
$lenh = "select dh.Malaptop,dh.Soluong,dh.Dongia,Tenlaptop from  donhangchitiet dh,laptop lt where dh.Malaptop = lt.Malaptop and dh.idDH='$idxem'";
$kqxem = mysql_query($lenh);




?>

<body>
<form id="form1" name="form1" method="post" action="">
  <table width="1110" border="1" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td height="30" colspan="5" align="center" class="title_table"><strong>Chi Tiết Đơn Hàng</strong></td>
    </tr>
    <tr>
      <td width="117" height="30" align="center"><strong>STT</strong></td>
      <td width="220" height="30" align="center"><strong>Mã Laptop</strong></td>
      <td width="220" height="30" align="center"><strong>Tên Laptop</strong></td>
      <td width="151" height="30" align="center"><strong>Số lượng</strong></td>
      <td width="158" height="30" align="center"><strong>Đơn giá</strong></td>
    </tr>
    <?php
	$stt = 1;
	while($row = mysql_fetch_array($kqxem))
	{
		
		?>
    <tr>
   	 <td height="30"><?php echo $stt; ?></td>
       <td height="30"><?php echo $row[0]; ?></td>
      <td height="30"><?php echo $row[3]; ?></td>
      <td height="30"><?php echo $row[1]; ?></td>
      <td height="30"><?php echo $row[2]; ?></td>
      
    </tr>
    <?php
	$stt++;
	}
	?>
  </table>
  <p align="center">
  <a href='javascript:history.go(-1);'>Back</a>
  </p>
</form>
</body>
</html>